{% extends "base.html" %} {% block content %}

    <div class="row">
        <div class="col-md-12">
            <div class="box box-primary">
                <div class="box-header with-border">
                    <h4 class="box-title">日志查询<small> 相关日志查询</small></h4>
                </div>
                <div class="box-body">
                    <form class="form-horizontal" id="form_modify_pass">
                        <div class="form-group">
                            <label class="col-sm-1 control-label">网站域名</label>
                            <div class="col-sm-4">
                                <div id="div_old_password">
                                    <input type="text" class="form-control" name="domain_name" placeholder="待查询网站域名" >
                                </div>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-1 control-label">开始时间</label>
                            <div class="col-sm-4">
                                <input class="form-control" name="begin" type="date" value="2017-07-04"/>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-1 control-label">终止时间</label>
                            <div class="col-sm-4">
                                <input class="form-control" name="end" type="date" value="2017-07-04"/>
                            </div>
                        </div>
                        <div class="box-footer">
                            <!-- <button type="submit" class="btn btn-default">Cancel</button> -->
                            <button type="button" class="btn btn-info pull-right" onclick="fun1()">查询</button>
                        </div>
                    </form>
                </div>

            </div>
        </div>
    </div>


    <div class="row">
        <div class="col-md-12">
            <div class="box box-primary">
                <div class="box-header with-border">
                    <h4 class="box-title">日志信息<small> 查询结果</small></h4>
                </div>
                <div class="box-body">
                    <table class="table table-striped">
                        <tr>

                            <th >IP</th>
                            <th >时间</th>
                            <th >详情</th>
                            <th >终端</th>
                        </tr>


                        <tbody>
                        <tr >

                            <td>10.62.168.12</td>
                            <td>2017-06-22 10:01:25</td>
                            <td>Get /server</td>
                            <td>Chrome</td>

                        </tr>
                        <tr >

                            <td>10.62.168.56</td>
                            <td>2017-06-22 10:15:58</td>
                            <td>GET /log/search?a=1</td>
                            <td>FireFox</td>
                        </tr>
                        </tbody>

                    </table>
                </div>

            </div>
        </div>
    </div>




    <script>
        //init page
        $('#menu_system_config').addClass('active')
        $('#menu_service').removeClass('active')
        $('#page_header').text('日志分析')
        $('#page_header_descript').text('日志分析')
        $('#page_nav').text('日志分析')
        $('#page_name').text('日志分析')


    </script>
{% endblock %}
